package com.text;

public class text01 {
    public static void main(String[] args) {
        anm anm1 = new cat("小猫咪", 10);
        anm anm2 = new dog("小狗狗", 10);
        food food1 = new dabanggu("大棒骨",12);
        food food2 = new dabanggu("小鱼",1);
        master master1 = new master("王博");
        master1.feed(anm1,food1);
        master1.feed(anm2,food2);

    }
}
